<link rel="stylesheet" href="<?php echo base_url() ?>templates/css/home.css" type="text/css" media="screen" />
<div class="in_content">
    <div class="cent_content">
        <div class="content_F01"></div>
        <div class="content">
            <div id="banner">
                <div id="zalen">
                    <div class="slider-wrapper">
                        <div id="slider" class="dev7-caroufredsel-carousel">
                            <?php
                            if (!empty($bannerSmallHome)) {
                                foreach ($bannerHome as $item_home) {
                                    ?>
                                    <a href="<?php echo $item_home->link ?>" title="<?php echo $item_home->link ?>">	
                                        <img src="<?php echo base_url() ?>uploads/banners/<?php echo $item_home->image ?>" alt="<?php echo $item_home->title ?>"/>
                                    </a>
                                    <?php
                                }
                            }
                            ?>
                        </div>
                        <div class="dev7-clearfix"></div>
                        <a class="dev7-caroufredsel-prev" href="#"><span>prev</span></a><a class="dev7-caroufredsel-next" href="#"><span>next</span></a>
                        <div class="dev7-caroufredsel-pag"></div>
                    </div>
                </div>
            </div><!--#banner-->

            <div class="cont_home">
                <div class="tt_Chome">
                    <p>Sản phẩm mới nhất</p>
                </div><!--tt_Chome-->
                <?php if (!empty($productHome)) { ?>
                    <div class="cc_Chome">
                        <?php foreach ($productHome as $item) { ?>
                            <?php echo get_view_product_home($item); ?>
                        <?php } ?>
                        <div class="viewAll"><a href="<?php echo urlAlias("tat-ca-san-pham"); ?>">View All</a></div><!--viewAll-->
                    </div><!--cc_Chome-->
                <?php } ?>
            </div><!--cont_home-->
        </div><!--content-->
        <div class="content_L01"></div>
    </div><!--cent_content-->
</div>